package com.onesports.intelligent.k12.polarlight.domain.dto.common;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.onesports.framework.kit.common.valid.NotEmpty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author Wsy
 **/
@ApiModel
@Data
public class AdjustDateDTO extends IdDTO{

    @ApiModelProperty(value = "到期时间(yyyy-MM-dd)",required = true)
    @NotEmpty(message = "请选择到期时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date expireDate;
}
